FAQ汇萃 >> Tomcat >> 我的beans 和 servlets 该放在哪里? [查看别人的评论]

由 webmaster 发布于: 2001-01-30 10:43

Lightbulb

Where you place the beans and servlets depends on which "application" it belongs to. Assuming that you are running your JSP pages under the default "examples" application, you should place your servlets under the path

/tomcat/examples/WEB-INF/classes

Your beans should be placed under

/tomcat/examples/WEB-INF/jsp/beans

Both these paths are placed within CLASSPATH by Tomcat's startup script file.

点这里对该文章发表评论

该文章总得分是 0 分,你认为它对你有帮助吗? [非常多](0) [有一些](0) [无帮助](0) [是灌水](0)

Copyright © 2001 - 2009 JSP001.com . All Rights Reserved